package com.edu.controller;

import com.edu.bean.TestDate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {
    @RequestMapping("/testDate")
    public String getDate(TestDate tDate){
        System.out.println("这是日期"+tDate.getDate());
        return "index.jsp";
    }
}
